import React from 'react';
import {Button, Text, View} from 'react-native';
import {ScreenID} from '../../../variables';

const MinePage: React.ComponentType<any> = ({navigation}) => {
  return (
    <View style={{flex: 1, justifyContent: 'center', alignItems: 'center'}}>
      <Text>MinePage!</Text>
      <Button
        onPress={() => navigation.navigate(ScreenID.Welcome)}
        title="首页"
      />
    </View>
  );
};

export default MinePage;
